package ${model_package_dao};

import ${name};<#--当前model所在类-->
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
* Created by lewis on ${.now}.
*/
@Repository
public interface  ${model_name}Dao extends JpaRepository<${model_name}, Integer>,JpaSpecificationExecutor<${model_name}> {
        ${model_name} findBy${model_key_by}(String ${model_key});
}
